package com.cmc.cloud.cmclink.doc.vo.blnopaymentvo;

import lombok.*;

import java.util.*;

import io.swagger.v3.oas.annotations.media.Schema;
import com.cmes.framework.common.pojo.PageParam;
import org.hibernate.validator.constraints.Length;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 提单指定支付方式信息分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 提单指定支付方式信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class BlnoPaymentPageReqVO extends PageParam {

    @Schema(description = "提单主信息id", example = "24494")
    private Long blnoId;

    @Schema(description = "费用代码")
    private String chargeCode;

    @Schema(description = "指定付款方式")
    private String designatedPayment;

    @Schema(description = "默认付款方式")
    private String defaultPayment;

    @Schema(description = "指定付费人")
    private String designatedPayerCode;

    @Schema(description = "打印标识")
    private Boolean printFlag;

    @Schema(description = "指定付款地")
    private String paymentPlace;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
